package com.qst.rongxiaoserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qst.rongxiaoserver.model.QuestionModel;
import com.qst.rongxiaoserver.model.dto.QuestionDto;

public interface IQuestionService extends IService<QuestionModel> {

   Boolean  addQuestion(QuestionDto question);
   Boolean  updateQuestion(QuestionDto question);

   Page<QuestionModel> getQuestionByPage(int pageNo, int pageSize);
}
